<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户</title>
<link rel="stylesheet" type="text/css" href="../css/simple.css"
	charset="utf-8" />
<script src="../jcx/1/full.js" charset="utf-8"></script>
<script src="User.js" charset="utf-8"></script>
</head>

<body>
	<h3>用户</h3>
	<div align="center">
		<form id="searchForm">
		<label for="keyword">关键字</label> <input id="keyword" name="keyword" />
			&nbsp;&nbsp;<a id="btn_search">搜索</a>
		</form>
	</div>
	<div style="margin-top: 20px">
		<a id="UserAddBtn" class="fl">添加</a> <a id="UserDelBtn" class="fr">删除选中</a>
	</div>
	<table id="UserTable" border="1">

		<thead>
			<tr>
				<th><input type="checkbox" id="checkboxAll" /></th>

				<th>编号</th>
				<th>用户名</th>
				<th>密码</th>
				<th>是否启用</th>
				<th>创建时间</th>
				<th>更新时间</th>


				<th>角色</th>
				<th>权限(功能)</th>

				<th>&nbsp;</th>
				<th>&nbsp;</th>
			</tr>
		</thead>


		<tbody>
			<tr id="row_template">
				<td><input type="checkbox" name="checkbox" value="" /></td>
				<td>id</td>
				<td>username</td>
				<td>password</td>
				<td>enabled</td>
				<td>created</td>
				<td>modified</td>

				<td><a class="setup">设置</a></td>
				<td><a class="setup">设置</a></td>

				<td><a class="edit">编辑</a></td>
				<td><a class="del">删除</a></td>
			</tr>
		</tbody>
	</table>

	<br />

	<table border="1">
		<tr>
			<td id="page"></td>
		</tr>
	</table>

	<div id="UserEditPanel" style="display: none">
		<form id="UserEditForm" name="UserEditForm">
			<table border="1">
				<tr>
					<td class="tac">编号</td>
					<td><input type="hidden" name="id" value="$!user.id" /></td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td class="tac">用户名</td>
					<td><input type="text" name="username" value=""
						maxlength="255" /></td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td class="tac">密码</td>
					<td><input type="text" name="password" value=""
						maxlength="255" /></td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td class="tac">是否启用</td>
					<td><select name="enabled">
							<option value="Y">是</option>
							<option value="N">否</option>
					</select></td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td><input id="UserSaveBtn" type="button" value="提交" /></td>
					<td>&nbsp;</td>
				</tr>
			</table>
		</form>
	</div>

</body>
</html>
